package com.gome.wechat.program.service.applicationservice;

import java.util.List;

import com.gome.wechat.program.dto.GroupActivityDto;
import com.gome.wechat.program.dto.GroupActivityJoinDto;
import com.gome.wechat.program.entity.GroupActivity;

/**
 * Created by liwei113 on 2017/11/2 0002.
 */
public interface GroupActivityApplicationService {

    GroupActivityDto save(GroupActivityDto groupActivity);

    Long joinGroupActivity(GroupActivityJoinDto groupActivityJoinDto);
    
    List<GroupActivity> getListByUserId(Long userId);
    
    List<GroupActivity> getGroupActivityByPublisherId(Long publisherId);
    
    List<GroupActivity> getGroupActivityByCoordinate(Double longitude,Double latitude,Double space);

    List<GroupActivity> getGroupActivityByTypeTwoAndLimitOne();

    boolean checkJoin(GroupActivityJoinDto groupActivityJoinDto);
}
